<!DOCTYPE html>
<html class="pixel-ratio-1">

<head>
    <meta charset="utf-8" />
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
    <meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate" />
    <meta name="viewport" content="width=375, user-scalabe=no">
    <meta http-equiv="pragma" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <title>养殖销售日报</title>
    <link rel="stylesheet" type="text/css" href="../../../../../public/vendor/weui/weui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../../../public/css/common.css" />
    <link rel="stylesheet" type="text/css" href="../../../../../public/css/iconfont/iconfont.css" />
    <link rel="stylesheet" href="../../../../../public/vendor/weui/jquery-weui.css">
    <link rel="stylesheet" href="../../../../../public/vendor/select2/select2.css">
    <!--<link rel="stylesheet" href="../../../../../public/vendor/swiper/swiper.css">-->
    <link rel="stylesheet" href="../../../../../public/vendor/swiper/swiper.css">
    <!-- Site CSS -->
    <link rel="stylesheet" href="../../../../../public/themes/base/css/site.css" id="admui-siteStyle">
    <link rel="stylesheet" href="../../../../../public/css/features/bi/livestock/salesdaily.css">

    <script id="sale-template" type="text/x-template">
        <div class="report-contents-item-box" style="height: 755px; background-color: #03A9F4; color: white; top: 100px; bottom: 100px; ">
            <p style="text-align: center; font-weight: bold;">养殖销售日报</p>
            <p style="text-align: center;" class="echoTime{{=it.seq}}">{{=it.bizDate}}</p>
        </div>
        <div class="report-contents-item-box" style="margin-top: -705px; margin-left: 10px; margin-right: 10px; ">
            <p style="text-align: center; color: #FF9800; font-weight: bold;">——销售合计——</p>
            <div class="weui-cell" style="padding: 15px; text-align: center;">
                <div class="weui-cell__hd"><label class="weui-label"><span>头数(<span class="unitpattern">头</span>)</span></label><span class="sale-summary" id="count{{=it.seq}}">{{=it.totalCount}}</span></div>
                <div class="weui-cell__hd"><label class="weui-label">均重(<span class="unitpattern">kg</span>)</label><span class="sale-summary" id="avgWeight">{{=it.totalAvgWeight}}</span></div>
                <div class="weui-cell__hd"><label class="weui-label">平均单价(<span class="unitpattern">元/kg</span>)</label><span class="sale-summary" id="unitPrice">{{=it.totalUnitPrice}}</span></div>
            </div>
        </div>
        <div class="report-contents-item-box" style="margin-left: 10px; margin-right: 10px; ">
            <span class="row_title">内销情况</span>
            <span class="details_title insideSales" id="{{=it.seq}}">查看详情></span>
            <div class="weui-cell" style="padding: 15px; text-align: center;">
                <div class="weui-cell__hd"><label class="weui-label">头数(<span class="unitpattern">头</span>)</label><span class="sale-summary" id="inCount{{=it.seq}}">{{=it.inside?.count  || 0}}</span></div>
                <div class="weui-cell__hd"><label class="weui-label">均重(<span class="unitpattern">kg</span>)</label><span class="sale-summary" id="inAvgWeight">{{=it.inside?.avgWeight  || 0.00}}</span></div>
                <div class="weui-cell__hd"><label class="weui-label">平均单价(<span class="unitpattern">元/kg</span>)</label><span class="sale-summary" id="inUnitPrice">{{=it.inside?.unitPrice || 0.00}}</span></div>
            </div>
        </div>
        <div class="report-contents-item-box" style="margin-left: 10px; margin-right: 10px;">
            <span class="row_title">外销情况</span>
            <span class="details_title exportSales" id="{{=it.seq}}">查看详情></span>
            <div class="weui-cell" style="padding: 15px; text-align: center;">
                <div class="weui-cell__hd"><label class="weui-label">头数(<span class="unitpattern">头</span>)</label><span class="sale-summary" id="outCount{{=it.seq}}">{{=it.exportSale?.count  || 0}}</span></div>
                <div class="weui-cell__hd"><label class="weui-label">均重(<span class="unitpattern">kg</span>)</label><span class="sale-summary" id="outAvgWeight">{{=it.exportSale?.avgWeight  || 0.00}}</span></div>
                <div class="weui-cell__hd"><label class="weui-label">平均单价(<span class="unitpattern">元/kg</span>)</label><span class="sale-summary" id="outUnitPrice">{{=it.exportSale?.unitPrice  || 0.00}}</span></div>
            </div>
        </div>
        <div id="{{=it.seq}}" data-bizDate="{{=it.bizDate}}" class="report-contents-item-box" style="margin-left: 10px; margin-right: 10px;">
            <p style="text-align: center; color: #FF9800; font-weight: bold;">——当日内外销头数占比——</p>
            <div class="weui-cell" style="padding: 15px;">
                <div id="curinventory{{=it.seq}}" style="height: 300px; width: 100%;">
                </div>
            </div>
        </div>
    </script>
</head>

<body>
    <div id="salesdaily-app" class="d-none">
        <div id="pull-down" class="pull-down">
            <div class="pull-down-content">松开加载</div>
        </div>
        <div id="salesdaily-pull"></div>

        <div>
            <div class="report-contents-item-box" style="height: 100px; background-color: #03A9F4; color: white; ">
                <p style="text-align: center; font-weight: bold;">养殖年度销量信息</p>
                <p style="text-align: center; font-weight: bold;" id="year"></p>
            </div>
            <div class="report-contents-item-box" style="margin-top: -50px; margin-left: 18px; margin-right: 18px;">
                <div class="weui-cell" style="padding: 15px; text-align: center;">
                    <div class="weui-cell__hd"><label class="weui-label"><span>总出栏量(<span
                                    class="unitpattern">头</span>)</span></label><span id="allCountYear"
                            style="font-weight: bold;">0</span></div>
                    <div class="weui-cell__hd"><label class="weui-label">内销(<span
                                class="unitpattern">头</span>)</label><span id="inCountYear"
                            style="font-weight: bold;">0</span></div>
                    <div class="weui-cell__hd"><label class="weui-label">外销(<span
                                class="unitpattern">头</span>)</label><span id="ouCountYear"
                            style="font-weight: bold;">0</span></div>
                </div>
            </div>
        </div>

        <div class="report-contents-item-box">
            <div class="swiper-container"
                style="height:300px; margin:0 0.3125rem 10px 0.3125rem; background: #FFF; border-radius:0.7rem;"
                data-space-between='10' data-pagination='.swiper-pagination' data-autoplay="1000">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <div id="salesTrend" style="height: 300px; width: 100%;"></div>
                    </div>
                    <div class="swiper-slide">
                        <div id="barChart" style="height: 300px; width: 100%;"></div>
                    </div>
                </div>
                <!--如果需要分页器-->
                <div class="swiper-pagination"></div>

                <!--如果需要导航按钮-->
                <!--<div class="swiper-button-prev"></div>
                <div class="swiper-button-next"></div>-->
                <!--如果需要滚动条-->
                <!--<div class="swiper-scrollbar"></div>-->
            </div>
        </div>
        <!-- 搜索日期 -->
        <!--<div id="pickData" class="weui-cell weui-cell_select datepicker">
            <div>
                <i class="date-icon iconfont icon-jiantou_yemian_xiangzuo_o" @click="changeOneDay('pre')"></i>
            </div>
            <div class="dateStr" @click="clickDate">
                <p>养殖销售日报</p>
                <span class="echoTime">{{queryDateStr}}</span>
            </div>
            <div>
                <i class="date-icon iconfont icon-jiantou_yemian_xiangyou_o" @click="changeOneDay('next')"></i>
            </div>
        </div>-->
        <div id="livestock-loop">
            <!--<div class="report-contents-item-box" style="height: 755px; background-color: #03A9F4; color: white; top: 100px; bottom: 100px; ">
            <p style="text-align: center; font-weight: bold;">养殖销售日报</p>
            <p style="text-align: center;" class="echoTime">{{queryDateStr}}</p>
        </div>
        <div class="report-contents-item-box" style="margin-top: -705px; margin-left: 10px; margin-right: 10px; ">
            <p style="text-align: center; color: #FF9800; font-weight: bold;">——销售合计——</p>
            <div class="weui-cell" style="padding: 15px; text-align: center;">
                <div class="weui-cell__hd"><label class="weui-label"><span>头数(<span class="unitpattern">头</span>)</span></label><span class="sale-summary" id="count"></span></div>
                <div class="weui-cell__hd"><label class="weui-label">均重(<span class="unitpattern">kg</span>)</label><span class="sale-summary" id="avgWeight"></span></div>
                <div class="weui-cell__hd" style="width: 100px;"><label class="weui-label">平均单价(<span class="unitpattern">元/kg</span>)</label><span class="sale-summary" id="unitPrice"></span></div>
            </div>
        </div>
        <div class="report-contents-item-box" style="margin-left: 10px; margin-right: 10px; ">
            <span class="row_title">内销情况</span>
            <span class="details_title insideSales" id="insideSales">查看详情></span>
            <div class="weui-cell" style="padding: 15px; text-align: center;">
                <div class="weui-cell__hd"><label class="weui-label">头数(<span class="unitpattern">头</span>)</label><span class="sale-summary" id="inCount"></span></div>
                <div class="weui-cell__hd"><label class="weui-label">均重(<span class="unitpattern">kg</span>)</label><span class="sale-summary" id="inAvgWeight"></span></div>
                <div class="weui-cell__hd" style="width: 100px;"><label class="weui-label">平均单价(<span class="unitpattern">元/kg</span>)</label><span class="sale-summary" id="inUnitPrice"></span></div>
            </div>
        </div>
        <div class="report-contents-item-box" style="margin-left: 10px; margin-right: 10px;">
            <span class="row_title">外销情况</span>
            <span class="details_title exportSales" id="exportSales">查看详情></span>
            <div class="weui-cell" style="padding: 15px; text-align: center;">
                <div class="weui-cell__hd"><label class="weui-label">头数(<span class="unitpattern">头</span>)</label><span class="sale-summary" id="outCount"></span></div>
                <div class="weui-cell__hd"><label class="weui-label">均重(<span class="unitpattern">kg</span>)</label><span class="sale-summary" id="outAvgWeight"></span></div>
                <div class="weui-cell__hd" style="width: 100px;"><label class="weui-label">平均单价(<span class="unitpattern">元/kg</span>)</label><span class="sale-summary" id="outUnitPrice"></span></div>
            </div>
        </div>
        <div class="report-contents-item-box" style="margin-left: 10px; margin-right: 10px;">
            <p style="text-align: center; color: #FF9800; font-weight: bold;">——当日内外销头数占比——</p>
            <div class="weui-cell" style="padding: 15px;">
                <div id="curinventory" style="height: 300px; width: 100%;">
                </div>
            </div>
        </div>-->

        </div>

        <!--<div id="vehicle-list" class="vehicle-list">
            <div class="weui-loadmore weui-loadmore_line">
                <span class="weui-loadmore__tips" style="background: #f1f1f1;">已经到底了</span>
            </div>
        </div>-->
        <div class="weui-footer" style="margin-top: 20px; height: 50px;">
            <p class="weui-footer__links">
                <a href="javascript:" class="weui-footer__link">云南神农集团</a>
                <a href="javascript:" class="weui-footer__link" id="initInfo">卓越运营中心制</a>
            </p>
            <p class="weui-footer__text">Copyright &copy; 2009-<span id="thisYear"></span> ynsnjt.com</p>
        </div>

        <!-- 返回主页 按钮 -->
        <div id="returnMain" class="returnHome" @click="returnHome"><i class="icon iconfont icon-pages"></i></div>
    </div>


    <script type="text/javascript" src="../../../../../public/vendor/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="../../../../../public/vendor/vue/vue.min.js"></script>
    <script type="text/javascript" src="../../../../../public/vendor/moment/moment.min.js"></script>
    <script type="text/javascript" src="../../../../../public/vendor/weui/weui.js"></script>
    <script type="text/javascript" src="../../../../../public/vendor/weui/jquery-weui.min.js"></script>
    <script type="text/javascript" src="../../../../../public/js/common/iosadaptation.js"></script>
    <script type="text/javascript" src="../../../../../public/js/config/utils.js"></script>
    <script type="text/javascript" src="../../../../../public/vendor/swiper/swiper.js"></script>
    <script type="text/javascript" src="../../../../../public/vendor/select2/select2.full.min.js"></script>
    <script type="text/javascript" src="../../../../../public/vendor/select2/i18n/zh-CN.js"></script>
    <!--<script src="../../../../../public/vendor/swiper/swiper.js"></script>-->
    <script src="../../../../../public/vendor/swiper/swiper.js"></script>
    <script src="../../../../../public/vendor/newEcarts/ecarts.js"></script>

    <script type="module" src="../../../../../public/js/features/bizreport/bi/livestock/salesdaily.js"></script>
</body>

</html>